package jy.game.components.item;

public enum ItemType {
    // Token: 0x040002F0 RID: 752
    Costa,//0
    // Token: 0x040002F1 RID: 753
    Weapon,//1
    // Token: 0x040002F2 RID: 754
    Armor,//2
    // Token: 0x040002F3 RID: 755
    Accessories,//3
    // Token: 0x040002F4 RID: 756
    Book,//4
    // Token: 0x040002F5 RID: 757
    Mission,//5
    // Token: 0x040002F6 RID: 758
    SpecialSkillBook,//6
    // Token: 0x040002F7 RID: 759
    TalentBook,//7
    // Token: 0x040002F8 RID: 760
    Upgrade,//8
    // Token: 0x040002F9 RID: 761
    Special,//9
    // Token: 0x040002FA RID: 762
    CanZhang,//10
    // Token: 0x040002FB RID: 763
    SwitchGameScene;//11

    static ItemType build(int value) {
        switch (value) {
            case 0:
                return Costa;
            case 1:
                return Weapon;
            case 2:
                return Armor;
            case 3:
                return Accessories;
            case 4:
                return Book;
            case 5:
                return Mission;
            case 6:
                return SpecialSkillBook;
            case 7:
                return TalentBook;
            case 8:
                return Upgrade;
            case 9:
                return Special;
            case 10:
                return CanZhang;
            case 11:
                return SwitchGameScene;
            default:
                return Costa;
        }
    }
}
